package me.keiwu.admin.dao;


import me.keiwu.admin.domain.system.SysInviteCode;
import me.keiwu.admin.domain.user.Label;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;


@Repository
public interface LabelRepository extends JpaRepository<Label, Long>, JpaSpecificationExecutor<Label> {
    Optional<Label> findByLabelName(String labelName);
}
